PDF Plugin for Xojo

PDFDocument.SaveToString Method (console safe)

Saves the generated PDF to a string.

SaveToString() as String

Parameters

Returns

String
Returns the PDF document as a string or empty string if there was a error.

Remarks

Use the string to save to a file, or stream or database for example. The string is binary data, do no put it in any user-interface control or try to display it.

See Also

PDFDocument Class